<?php

namespace app\common\model;

use app\common\basic\BaseModel;

/**
 * 菜单模型
 */
class SystemRegion extends BaseModel
{
    // 主键
    protected $pk = 'id';
    protected $table = 'vk_region';

    /**
     * Id搜索
     */
    public function searchIdAttr($query, $value)
    {
        $query->whereIn('id', $value);
    }

}